package com.killLog.service.impl;

import com.killLog.common.CurrentUser;
import com.killLog.dao.LoginDao;
import com.killLog.dto.LoginDto;
import com.killLog.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginDao loginDao;
    @Override
    public CurrentUser findUser(LoginDto loginDto) {
        return loginDao.findUser(loginDto);
    }
}
